package com.link.base.ext.emp.service;


import com.link.base.ext.emp.model.ExtEmployee;
import com.link.ext.basic.service.BasicExtService;

public interface ExtEmployeeService extends BasicExtService<ExtEmployee> {

    /**
     * 对ESB数据进行新增或者更新
     * @author 刘启鑫
     * @date 2020/8/19 11:51
     */
    void updateForESB(ExtEmployee employee) throws Exception;


    /**
     * 根据Shr员工ID查询员工
     *
     * @author 刘启鑫
     * @date 2020/8/22 17:02
     */
    ExtEmployee queryUniqueByShrEmpId(ExtEmployee employee);

    /**
     * 根据员工编码查找员工
     *
     * @author 刘启鑫
     * @date 2020/8/31 11:39
     */
    ExtEmployee queryUniqueByEmpNo(ExtEmployee employee);
}
